import React, { FC, memo, ReactNode, Suspense } from "react";
import { Outlet } from "react-router-dom";
interface Iprops {
  children?: ReactNode;
}
const Dashboard: FC<Iprops> = memo(() => {
  return (
    <div>
      <Suspense>
        <Outlet />
      </Suspense>
    </div>
  );
});

export default Dashboard;
